package com.xmim.fulcrum.handler;

import com.xmim.core.constants.MessageCode;
import com.xmim.core.entity.Request;
import com.xmim.fulcrum.FulcrumDiscover;

public abstract class RequestMessageHandler extends AbstractMessageHandler<Request> {

    public RequestMessageHandler(FulcrumDiscover fulcrumDiscover) {
        super(fulcrumDiscover);
    }

    @Override
    public Integer getType() {
        return MessageCode.MSG_REQUEST;
    }

    @Override
    protected Class<?> getMessageClass() {
        return Request.class;
    }
}
